import { $axios } from './http';

// const { baseUrl, set } = Api;

// 更新 设置信息
function uploadImg(data) {
  return $axios.post('/captcha/', data, {
    headers: {
      'Content-Type': 'multipart/form-data',
    },
  })
    .then(res => res.data);
}

export default {
  uploadImg,
};
